from django.db import models
from django.contrib.auth.models import AbstractUser


# Create your models here.

class MyUser(AbstractUser):
    qq = models.CharField('QQ号码', max_length=20, null=True, blank=True)
    weChat = models.CharField('微信号码', max_length=20, null=True, blank=True)
    mobile = models.CharField('手机号码', max_length=11, null=True, blank=True)

    def __str__(self):
        return self.username
